//
//  ViewController.m
//  06-CycleImages
//
//  Created by 王道林 on 16/7/21.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "ViewController.h"
#import "WDLCycleView.h"

#define kScreenBouns [UIScreen mainScreen].bounds
#define kScreenWidth kScreenBouns.size.width
#define kScreenHeight kScreenBouns.size.height


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    
    [super viewDidLoad];
    NSArray *array = @[@"0.jpg", @"1.jpg", @"2.jpg", @"3.jpg", @"4.jpg"];
    // Do any additional setup after loading the view, typically from a nib.
    WDLCycleView *WdlView = [[WDLCycleView alloc] initWithFrame:self.view.frame];
    [WdlView setImagesWithArray:array];
    [self.view addSubview:WdlView];
    
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
